
interface RoleInt{
    role:number
    roleName:string
}

export interface UserListInt{
    id: number
    nickName: string
    role:RoleInt[]
    userName: string
}

interface SearchDataInt{
    role:number
    nickName: string
}

interface RoleListInt{
    authority:number[]
    roleId: number
    roleName: string
}

export interface ActiveInt{
    id:number
    nickName: string
    role: number[]
    userName: string
}

export class UserInitData{
    searchData:SearchDataInt = {
        role: 0,
        nickName: ''
    }
    list: UserListInt[] = [] // 用来接收用户信息的列表
    roleList:RoleListInt[] = [] // 角色信息列表
    isShow = false
    active: ActiveInt = { /// 选中的对象
        id: 0,
        nickName: '',
        role: [],
        userName: '',
    }

}